<!-- 村列表中的区域筛选 -->
<div class="col-md-10">
    <form id="searchForm" action="{$pageSize.url}" class="form" method="post">
        <div class="form-inline">
            {if condition="$serarea['villageName'] == '0'"}
            {$serarea['cityName']}->{$serarea['xianName']}->{$serarea['townName']}
            <select id="village" name="villageId" class="form-control"  ></select>
            {else/}
            {$serarea['cityName']}->{$serarea['xianName']}->{$serarea['townName']}->{$serarea['villageName']}

            {/if}

            <input type="hidden" class="form-control city" name="city" value="{$serarea['cityName']}">
            <input type="hidden" class="form-control xian" name="xian" value="{$serarea['xianName']}">
            <input type="hidden" class="form-control town" name="town" value="{$serarea['townName']}">
            <input type="hidden" class="form-control village" name="village" value="{$serarea['villageName']}">


            <button id="doSearch" type="button" class="btn btn-success" title="筛选">
                <i class="fa fa-search"></i> 筛选
            </button>
            <!--<a href="{$currentUrl}?reset=1" class="btn btn-danger"><i class="fa fa-trash"></i> 清空</a>-->
            <button type="reset" class="btn btn-danger" title="清空">
                <i class="fa fa-trash"></i> 清空
            </button>
        </div>
    </form>
</div>

<input type="hidden" class="getregion_url" value="{:url('admin/region/getregion')}">
<input type="hidden" class="getvillage_url" value="{:url('admin/region/getvillage')}">
<input type="hidden" class="adminCity" value="{$info['cityId']}">
<input type="hidden" class="adminXian" value="{$info['xianId']}">
<input type="hidden" class="adminTown" value="{$info['townId']}">
<input type="hidden" class="adminVillage" value="{$info['villageId']}">

<script src="__STATIC__/admin/pages/js/searcharea01.js" type="text/javascript"></script>
